package com.plwf.lake.mapper;

import com.plwf.lake.entity.DriverSchool;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface DriverSchoolMapper {
    //parameterType 为输入参数, resultType 为输出参数
    public List<DriverSchool> select(Map<String,Object> map);
    public boolean insert(DriverSchool bean);
    public boolean delete(Integer id);
    public boolean update(DriverSchool bean);
    public DriverSchool selectOne(Integer id);
    public boolean enable(DriverSchool bean);
    public boolean updateImage(DriverSchool bean);
    public List<DriverSchool> selectAll();

}
